package com.stockz.equity.dao;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import com.stockz.equity.model.Bar;

public interface BarDao {
	public void persist(Bar bar);
	public void persistAll(Collection<Bar> barList);
	public List<Bar> getBarListByScripCode(String scripCode);
	public List<Bar> getBarListByScripCode(String scripCode,final int maxCount);
	public Date getLastDownloadDate();
}
